using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._3DAnalystTools._TerrainDataset
{
    /// <summary>
    /// <para>Delete Terrain Points</para>
    /// <para>Deletes points within a specified area of interest from one or more features that participate in a terrain dataset.</para>
    /// <para>从参与 terrain 数据集的一个或多个要素中删除指定感兴趣区域内的点。</para>
    /// </summary>    
    [DisplayName("Delete Terrain Points")]
    public class DeleteTerrainPoints : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public DeleteTerrainPoints()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_terrain">
        /// <para>Input Terrain</para>
        /// <para>The terrain dataset to process.</para>
        /// <para>要处理的 terrain 数据集。</para>
        /// </param>
        /// <param name="_data_source">
        /// <para>Input Terrain Data Source</para>
        /// <para>One or more feature classes from which points will be removed.</para>
        /// <para>将从中移除点的一个或多个要素类。</para>
        /// </param>
        /// <param name="_polygon_features_or_extent">
        /// <para>Area of Interest</para>
        /// <para>Specifies the area from which points will be removed. A polygon feature class or an extent can be used.</para>
        /// <para>指定要从中移除点的区域。可以使用面要素类或范围。</para>
        /// </param>
        public DeleteTerrainPoints(object _in_terrain, List<object> _data_source, object _polygon_features_or_extent)
        {
            this._in_terrain = _in_terrain;
            this._data_source = _data_source;
            this._polygon_features_or_extent = _polygon_features_or_extent;
        }
        public override string ToolboxName => "3D Analyst Tools";

        public override string ToolName => "Delete Terrain Points";

        public override string CallName => "3d.DeleteTerrainPoints";

        public override List<string> AcceptEnvironments => ["autoCommit", "scratchWorkspace", "workspace"];

        public override object[] ParameterInfo => [_in_terrain, _data_source, _polygon_features_or_extent, _derived_out_terrain];

        /// <summary>
        /// <para>Input Terrain</para>
        /// <para>The terrain dataset to process.</para>
        /// <para>要处理的 terrain 数据集。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Terrain")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_terrain { get; set; }


        /// <summary>
        /// <para>Input Terrain Data Source</para>
        /// <para>One or more feature classes from which points will be removed.</para>
        /// <para>将从中移除点的一个或多个要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Terrain Data Source")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public List<object> _data_source { get; set; }


        /// <summary>
        /// <para>Area of Interest</para>
        /// <para>Specifies the area from which points will be removed. A polygon feature class or an extent can be used.</para>
        /// <para>指定要从中移除点的区域。可以使用面要素类或范围。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Area of Interest")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _polygon_features_or_extent { get; set; }


        /// <summary>
        /// <para>Updated Input Terrain</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Input Terrain")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _derived_out_terrain { get; set; }


        public DeleteTerrainPoints SetEnv(int? autoCommit = null, object scratchWorkspace = null, object workspace = null)
        {
            base.SetEnv(autoCommit: autoCommit, scratchWorkspace: scratchWorkspace, workspace: workspace);
            return this;
        }

    }

}